<?php

class Admin_Bootstrap extends Zend_Application_Module_Bootstrap
{
    protected function _initSession(array $options = array()) 
    { 
        $this->getApplication()->bootstrap('db');
        $db = $this->getApplication()->getResource('db');
        $config = array(  'name'    => 'session', 
                          'primary' => 'id', 
                          'modifiedColumn' => 'modified', 
                          'dataColumn'       => 'data', 
                          'lifetimeColumn'   => 'lifetime' ); 
        Zend_Session::setSaveHandler(new Zend_Session_SaveHandler_DbTable($config)); 
        Zend_Session::start(); 
    } 
}

